<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"[]>
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="pt-br" xml:lang="pt">
    <head>
        <?php header('Content-Type: text/html; charset=utf-8'); ?>
        <title>SisCad</title>
        <link rel="stylesheet" href="<?= base_url('publico/css/jquery-ui/jquery-ui-1.9.1.custom.css') ?>" type="text/css" media="screen" />
        <link rel="stylesheet" href="<?= base_url('publico/css/style.css') ?>" type="text/css" media="screen" />
        <!--[if IE 6]><link rel="stylesheet" href="style.ie6.css" type="text/css" media="screen" /><![endif]-->
        <!--[if IE 7]><link rel="stylesheet" href="style.ie7.css" type="text/css" media="screen" /><![endif]-->
        <link rel="shortcut icon" href="<?= base_url('publico/img/favicon.ico') ?>" type="image/x-icon" />
        <script type="text/javascript" src="<?= base_url('publico/js/jquery-1.8.2.js') ?>"></script>
        <script type="text/javascript" src="<?= base_url('publico/js/jquery-ui-1.9.1.custom.min.js') ?>"></script>
        <script type="text/javascript" src="<?= base_url('publico/js/login.js') ?>"></script>        
    </head>
    <body>
        <div id="s47-page-background-glare-wrapper">
            <div id="s47-page-background-glare"></div>
        </div>
        <div id="s47-main">
            <div class="s47-header">
                <div class="s47-header-inner">
                    <div class="s47-headerobject"></div><!--LOGO DO EB-->
                    <div class="s47-logo">
                        <h1 class="s47-logo-name"><a href="<?=site_url('c_login')?>">Sistema de Cad de Visitantes</a></h1>
                        <h2 class="s47-logo-text">Curso de Informática</h2>
                    </div>
                </div>
            </div>
            <div class="cleared reset-box"></div>
            <div class="s47-bar s47-nav">
                <div class="s47-nav-outer">
                    <div class="s47-nav-wrapper">
                        <div class="s47-nav-inner">
                            <div id="d_login">
                                <form name="f_login" id="f_login" method="post" action="<?=site_url('c_login/validaForm')?>"> 
                                    <strong>Login:</strong> <input id="i_idt" name="i_idt" type="text"/>
                                    <strong>Senha:</strong> <input id="i_senha" name="i_senha" type="password"/>
                                    <input type="button" id="b_logar" name="b_logar" value="OK"/>
                                    <strong><span id="s_msg"></span></strong>
                                    <input type="hidden" id="token" name="token" value="<?=$token?>">
                                </form>           
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="cleared reset-box"></div>
            <script type="text/javascript">
                $('#b_logar').click(function(){
                    logar();
                });
            </script>